package org.wuqi.microdataservice.mapper;

import org.wuqi.api.model.UserList;
import org.wuqi.bean.BidInfo;

import java.math.BigDecimal;
import java.util.List;

public interface BidInfoMapper {
    BigDecimal selectSumMoney();
    int deleteByPrimaryKey(Integer id);

    int insert(BidInfo record);

    int insertSelective(BidInfo record);

    BidInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BidInfo record);

    int updateByPrimaryKey(BidInfo record);
//    获取募捐金额总和
    BigDecimal selectSumMoney(Integer uid);
    List<UserList> selectInvestList();
}